module.exports = {


  //代理，实现跨域
  devServer: {
    disableHostCheck: true,
    proxy: {
      '/api': {
        target: "http://localhost:3000",
        changeOrigin: true,
        pathRewrite: {
          '^/api': '/api'
        }
      }
    },
  }
}